# -*- coding: utf-8 -*-
# from odoo import http


# class BaseApporval(http.Controller):
#     @http.route('/base_apporval/base_apporval/', auth='public')
#     def index(self, **kw):
#         return "Hello, world"

#     @http.route('/base_apporval/base_apporval/objects/', auth='public')
#     def list(self, **kw):
#         return http.request.render('base_apporval.listing', {
#             'root': '/base_apporval/base_apporval',
#             'objects': http.request.env['base_apporval.base_apporval'].search([]),
#         })

#     @http.route('/base_apporval/base_apporval/objects/<model("base_apporval.base_apporval"):obj>/', auth='public')
#     def object(self, obj, **kw):
#         return http.request.render('base_apporval.object', {
#             'object': obj
#         })
